#include <func.h>

int main(int argc,char *argv[])
{
    ARGS_CHECK(argc,2);
    int fdw=open(argv[1],O_WRONLY);
    ERROR_CHECK(fdw,-1,"open");
    printf("write_pipe is open\n");
    sleep(10);
    write(fdw,"thanatos",8);
    return 0;
}

